package com.ohos.connect.devicecloud.app.modular.project.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * APP项目实体
 *
 * @author Dongtao
 * @date  2024/12/05 10:46
 **/
@Getter
@Setter
@TableName("APP_PROJECT")
public class Project {

    /** ID */
    @TableId
    @ApiModelProperty(value = "ID", position = 1)
    private String id;

    /** 项目名称 */
    @ApiModelProperty(value = "项目名称", position = 2)
    private String name;

    /** 项目名称 */
    @ApiModelProperty(value = "项目描述", position = 2)
    private String description;

    /** 定位名称 */
    @ApiModelProperty(value = "定位名称", position = 3)
    private String locationName;

    /** 定位经度 */
    @ApiModelProperty(value = "定位经度", position = 4)
    private String longitude;

    /** 定位纬度 */
    @ApiModelProperty(value = "定位纬度", position = 5)
    private String latitude;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志", position = 6)
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private String deleteFlag;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间", position = 7)
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 创建用户 */
    @ApiModelProperty(value = "创建用户", position = 8)
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    /** 修改时间 */
    @ApiModelProperty(value = "修改时间", position = 9)
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /** 修改用户 */
    @ApiModelProperty(value = "修改用户", position = 10)
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;
}
